package com.example.service;

import com.example.pojo.GdUser;

/**
 * Created by LENOVO on 2018/8/17.
 */
public interface RpcRegisterService {

    public void registerUserByPhone(GdUser user)throws Exception;

    public boolean validateSms(String phone, String code)throws Exception;

    public boolean findUserByUserCode(String userCode)throws Exception;

    public void registerUserByMail(GdUser user) throws Exception;

    public boolean activateMail(String mail, String code)throws Exception;
}
